﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AmazonMODEL
{
    #region Tools
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class Tools
    {

        private string gritRatingField;

        private decimal horsepowerField;

        private bool horsepowerFieldSpecified;

        private LengthDimension diameterField;

        private LengthDimension lengthField;

        private LengthDimension widthField;

        private LengthDimension heightField;

        private WeightDimension weightField;

        private ToolsPowerSource[] powerSourceField;

        private string wattageField;

        private string voltageField;

        private string numberOfItemsInPackageField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "positiveInteger")]
        public string GritRating
        {
            get
            {
                return this.gritRatingField;
            }
            set
            {
                this.gritRatingField = value;
            }
        }

        /// <remarks/>
        public decimal Horsepower
        {
            get
            {
                return this.horsepowerField;
            }
            set
            {
                this.horsepowerField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool HorsepowerSpecified
        {
            get
            {
                return this.horsepowerFieldSpecified;
            }
            set
            {
                this.horsepowerFieldSpecified = value;
            }
        }

        /// <remarks/>
        public LengthDimension Diameter
        {
            get
            {
                return this.diameterField;
            }
            set
            {
                this.diameterField = value;
            }
        }

        /// <remarks/>
        public LengthDimension Length
        {
            get
            {
                return this.lengthField;
            }
            set
            {
                this.lengthField = value;
            }
        }

        /// <remarks/>
        public LengthDimension Width
        {
            get
            {
                return this.widthField;
            }
            set
            {
                this.widthField = value;
            }
        }

        /// <remarks/>
        public LengthDimension Height
        {
            get
            {
                return this.heightField;
            }
            set
            {
                this.heightField = value;
            }
        }

        /// <remarks/>
        public WeightDimension Weight
        {
            get
            {
                return this.weightField;
            }
            set
            {
                this.weightField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("PowerSource")]
        public ToolsPowerSource[] PowerSource
        {
            get
            {
                return this.powerSourceField;
            }
            set
            {
                this.powerSourceField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "positiveInteger")]
        public string Wattage
        {
            get
            {
                return this.wattageField;
            }
            set
            {
                this.wattageField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "positiveInteger")]
        public string Voltage
        {
            get
            {
                return this.voltageField;
            }
            set
            {
                this.voltageField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "positiveInteger")]
        public string NumberOfItemsInPackage
        {
            get
            {
                return this.numberOfItemsInPackageField;
            }
            set
            {
                this.numberOfItemsInPackageField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public enum ToolsPowerSource
    {

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("battery-powered")]
        batterypowered,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("gas-powered")]
        gaspowered,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("hydraulic-powered")]
        hydraulicpowered,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("air-powered")]
        airpowered,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("corded-electric")]
        cordedelectric,
    }
    #endregion
}
